import Demo from '@/views/Demo';
import NotFound from '@/views/NotFound';
import LayoutBasic from '@/layouts/LayoutBasic';
import LayoutUser from '@/layouts/LayoutUser';

import { IRoute } from './index';
import { routeAnchor } from './route.anchor';
import { routeLive } from './route.live';
import { routeMessage } from './route.message';
import { routeMcn } from './route.mcn';
import { routeAccount } from './route.account';
export const routes: IRoute[] = [
  {
    path: '/',
    component: LayoutBasic,
    meta: { title: '巨鲸帮帮' },
  },
  routeAnchor,
  routeLive,
  routeMessage,
  routeMcn,
  routeAccount,
  {
    path: '/user',
    component: LayoutUser,
    meta: { title: '用户中心' },
  },
  {
    path: '/demo',
    component: Demo,
    meta: { title: '开发测试专用' },
  },
  {
    path: '*',
    component: NotFound,
    meta: { title: '糟糕页面跑丢了~' },
  },
];
